﻿CREATE TABLE [dbo].[QuotaTemplate] (
    [QuotaTemplateID]         SMALLINT         NOT NULL,
    [ServiceID]               UNIQUEIDENTIFIER NOT NULL,
    [StorageMaximumLevel]     INT              NULL,
    [InvitedUserMaximumLevel] INT              NULL,
    [StrorageWarningLevel]    INT              NULL,
    [UserCodeWarningLevel]    INT              NULL,
    [UserCodeMaximumLevel]    INT              NULL,
    CONSTRAINT [PK_QuotaTemplate] PRIMARY KEY CLUSTERED ([QuotaTemplateID] ASC),
    CONSTRAINT [FK_QuotaTemplate_Service1] FOREIGN KEY ([ServiceID]) REFERENCES [dbo].[Service] ([ServiceID])
);

